// *Author：jxx
// *Contact：283591387@qq.com
// *代码由框架生成,任何更改都可能导致被代码生成器覆盖
export default function(){
    const table = {
        key: 'Id',
        footer: "Foots",
        cnName: '仓库区域',
        name: 'FLH_AreaModel',
        url: "/FLH_AreaModel/",
        sortName: "Id"
    };
    const tableName = table.name;
    const tableCNName = table.cnName;
    const newTabEdit = false;
    const key = table.key;
    const editFormFields = {"AreaId":"","AreaName":"","WareHouseId":"","AreaDesc":"","CreateTime":""};
    const editFormOptions = [[{"title":"区域编码","required":true,"field":"AreaId","type":"text"}],
                              [{"title":"区域名称","required":true,"field":"AreaName","type":"text"}],
                              [{"dataKey":"WareHouseName","data":[],"title":"所属仓库名称","required":true,"field":"WareHouseId","type":"select"}],
                              [{"title":"区域描述","required":true,"field":"AreaDesc","type":"textarea"}],
                              [{"title":"创建时间","field":"CreateTime","type":"datetime"}]];
    const searchFormFields = {};
    const searchFormOptions = [];
    const columns = [{field:'Id',title:'唯一编号',type:'bigint',sort:true,width:110,readonly:true,require:true,align:'left'},
                       {field:'CreateUserId',title:'CreateUserId',type:'bigint',width:110,hidden:true,align:'left'},
                       {field:'UpdateUserId',title:'UpdateUserId',type:'bigint',width:110,hidden:true,align:'left'},
                       {field:'CreatedUserName',title:'CreatedUserName',type:'string',width:110,hidden:true,align:'left'},
                       {field:'UpdatedUserName',title:'UpdatedUserName',type:'string',width:110,hidden:true,align:'left'},
                       {field:'CreateTime',title:'创建时间',type:'datetime',width:150,hidden:true,align:'left'},
                       {field:'UpdateTime',title:'UpdateTime',type:'datetime',width:150,hidden:true,align:'left'},
                       {field:'IsDelete',title:'IsDelete',type:'sbyte',width:110,hidden:true,align:'left'},
                       {field:'RedundancyColumn1',title:'RedundancyColumn1',type:'string',width:120,hidden:true,align:'left'},
                       {field:'RedundancyColumn2',title:'RedundancyColumn2',type:'string',width:120,hidden:true,align:'left'},
                       {field:'RedundancyColumn3',title:'RedundancyColumn3',type:'string',width:120,hidden:true,align:'left'},
                       {field:'RedundancyColumn4',title:'RedundancyColumn4',type:'string',width:120,hidden:true,align:'left'},
                       {field:'RedundancyColumn5',title:'RedundancyColumn5',type:'string',width:120,hidden:true,align:'left'},
                       {field:'AreaId',title:'区域编码',type:'string',width:110,require:true,align:'left'},
                       {field:'AreaName',title:'区域名称',type:'string',width:110,require:true,align:'left'},
                       {field:'WareHouseId',title:'所属仓库名称',type:'bigint',bind:{ key:'WareHouseName',data:[]},width:110,require:true,align:'left'},
                       {field:'AreaDesc',title:'区域描述',type:'string',width:220,require:true,align:'left'}];
    const detail ={columns:[]};
    const details = [];

    return {
        table,
        key,
        tableName,
        tableCNName,
        newTabEdit,
        editFormFields,
        editFormOptions,
        searchFormFields,
        searchFormOptions,
        columns,
        detail,
        details
    };
}